Skip to content

Update stop command message in messages.ts#15770

Merged
Princesseuh merged 3 commits intowithastro:mainfrom
jpc-ae:patch-1
Mar 18, 2026
Merged

Update stop command message in messages.ts#15770
Princesseuh merged 3 commits intowithastro:mainfrom
jpc-ae:patch-1

Conversation

@jpc-ae
Copy link
Contributor

@jpc-ae jpc-ae commented Mar 5, 2026

CTRL+C kills the dev and preview processes while the actual stop/quit command is documented here: https://docs.astro.build/en/reference/cli-reference/

While either way works, the command version exits gracefully and should be highlighted for new users. One minor difference in the two versions when using powerline/OMP in a CLI is that CTRL+C will display a script error after the process was killed while the command does not.

Changes

  • The message after creating a new Astro project explaining how to run the dev server now explains that q + ENTER will stop the server.
  • The CTRL+C kill process shortcut is no longer mentioned.

Testing

This change is for a simple text string only. No specific tests reference this text in the codebase.

Docs

The docs are already clear enough, just the script message has not been updated: https://docs.astro.build/en/reference/cli-reference/

jpc-ae added 2 commits March 5, 2026 13:21
`CTRL+C` kills the dev and preview processes while the actual stop/quit command is documented here: https://docs.astro.build/en/reference/cli-reference/

While either way _works_, the command version exits gracefully and should be preferred.
Updates the welcome message to emphasize the graceful quit command.
@changeset-bot
Copy link

changeset-bot bot commented Mar 5, 2026

🦋 Changeset detected

Latest commit: c5b3309

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added the pkg: create-astro Related to the `create-astro` package (scope) label Mar 5, 2026
Copy link
Member

@Princesseuh Princesseuh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, I always forget we have that graceful shutdown! (I will probably still use CTRL+C myself, ha)

@Princesseuh Princesseuh merged commit 6102ca2 into withastro:main Mar 18, 2026
21 checks passed
@astrobot-houston astrobot-houston mentioned this pull request Mar 18, 2026
@jpc-ae jpc-ae deleted the patch-1 branch March 19, 2026 00:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pkg: create-astro Related to the `create-astro` package (scope)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants